package com.huateng.springcloud;

import org.springframework.boot.WebApplicationType;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;


/**
 * Eureka start
 *
 * @author Evan
 * @create 2021/6/12 21:39
 */
@SpringBootApplication
@EnableDiscoveryClient
public class AuthApplication {

    public static void main(String[] args) throws Exception {
        new SpringApplicationBuilder(AuthApplication.class)
                .web(WebApplicationType.SERVLET).run(args);
    }

}
